package cn.accp.war.baseEntity.entity;

import cn.accp.war.baseEntity.Hero;

/**
 * 魔法师类
 * 
 * @author Jiangqs
 * 
 */
public class Magician extends Hero {

	public Magician() {
	}

	public Magician(String name, int magic) {
		super(name, magic);
	}

	public Magician(Magician hero) {
		super(hero);
	}

	@Override
	public void attack() {
		System.out.println("魔法师" + this.getName() + "，法力值为" + this.getMagic()
				+ "，正在攻击！");
	}

	@Override
	public void run() {
		System.out.println("魔法师" + this.getName() + "，法力值为" + this.getMagic()
				+ "跑！");
	}

	@Override
	public void jump() {
		System.out.println("魔法师" + this.getName() + "，法力值为" + this.getMagic()
				+ "跳！");
	}

	@Override
	public void walk() {
		System.out.println("魔法师" + this.getName() + "，法力值为" + this.getMagic()
				+ "走！");
	}

	@Override
	public void showMe() {
		System.out.println("魔法师" + this.getName() + "，法力值为" + this.getMagic()
				+ "。");
	}
}
